package com.cjm.one.model.goods.dto;

import com.cjm.one.model.goods.entity.GoodsCommentTagList;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
@Data
public class GoodsCommentDto implements java.io.Serializable {
    private Long id;

    /**
     * 商品id
     */

    @Schema(description = "商品id")
    private Long goodsId;

    @Schema(description = "用户id")
    private Long userId;

    private String nickname;

    private String avatarUrl;

    /**
     * 评论内容
     */
    @Schema(description = "评论内容")
    private String content;

    /**
     * 评论图片
     */
    @Schema(description = "评论图片")
    private String contentUrl;

    /**
     * 异常0 - 正常1
     */
    @Schema(description = "异常0 - 正常1")
    private Integer status;

    /**
     *
     */
    private LocalDateTime createTime;

    /**
     *
     */

    private LocalDateTime updateTime;

    /**
     * 删除标记（0:不可用 1:可用）
     */
    @Schema(description = "删除标记（0:不可用 1:可用）")
    private Integer isDeleted;

    //    @Schema(description = "商品信息")
//    private GoodsInfo goodsInfo;
    // 扩展字段
    private List<GoodsCommentTagList> tagNames;


    private Integer score;



    private static final long serialVersionUID = 1L;
}
